<!-- 更新用户信息 -->
<template>
  <div>updateInfo</div>
</template>

<script>
import { getCurrentUserInfo } from "../../../api/userInfo";
export default {
  name: "updateInfo",
  data() {
    return {};
  },
  methods: {
    async getUserInfo() {
      let { data } = await getCurrentUserInfo();
      console.log(data);
    },
  },
  created() {
    this.getUserInfo();
  },
};
</script>
<style lang= "less" scoped>
</style>